package cn.flying.cloud.flow.model;

import java.io.Serializable;
import java.util.Map;

/**
 * 流程节点审批对象
 *
 * @author: admin
 * @date: 2024年12月18日 21:25
 * @version: 1.0
 */
public class FlowAuditVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 流程定义KEY
     */
    private String procDefKey;
    /**
     * 业务流水号（18位的流水号）
     */
    private String bizKey;
    /**
     * 流程名称（描述）
     */
    private String name;
    /**
     * 流程实例ID
     */
    private String procInstId;
    /**
     * 实例当前任务代理人
     */
    private String assignee;
    /**
     * 租户Id
     */
    private String tenantId;
    /**
     * 节点FormKey
     */
    private String formKey;
    /**
     * 节点Id
     */
    private String taskId;
    /**
     * 审批状态 A 通过/R 拒绝 /D 驳回
     */
    private String taskState;
    /**
     * 审批备注
     */
    private String comment;
    /**
     * 变量
     */
    private Map<String, Object> variables;

    public String getProcDefKey() {
        return procDefKey;
    }

    public void setProcDefKey(String procDefKey) {
        this.procDefKey = procDefKey;
    }

    public String getBizKey() {
        return bizKey;
    }

    public void setBizKey(String bizKey) {
        this.bizKey = bizKey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getFormKey() {
        return formKey;
    }

    public void setFormKey(String formKey) {
        this.formKey = formKey;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskState() {
        return taskState;
    }

    public void setTaskState(String taskState) {
        this.taskState = taskState;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Map<String, Object> getVariables() {
        return variables;
    }

    public void setVariables(Map<String, Object> variables) {
        this.variables = variables;
    }
}
